import store from '@/store'

export default function (value) {
  const authCodes = store.getters?.auths
  const PermissionFlag = authCodes.includes(value)
  return PermissionFlag
}
